x86 hvm: x2APIC emulation
authorKeir Fraser <keir@xen.org>
Tue, 7 Dec 2010 18:24:12 +0000 (18:24 +0000)
committerKeir Fraser <keir@xen.org>
Tue, 7 Dec 2010 18:24:12 +0000 (18:24 +0000)
commit21c4d089ba2a236dcf33a06222070bd6c60c6e3d
tree272264b493a3c1f3b355896607a78a623037eadd
parent91ddbc059f3f563cd38e82095f19facf6e2257af
x86 hvm: x2APIC emulation

This patch would enable Xen to handle x2APIC MSR accessing of HVM
guest, which is faster(avoid decoding of MMIO accessing). The credit
comes to Gleb Natapov who complete the work for KVM.

Have tested with 4 vcpus guest, with/without x2apic support.

From: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Keir Fraser <keir@xen.org>
tools/libxc/xc_cpufeature.h
tools/libxc/xc_cpuid_x86.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vlapic.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/vlapic.h
xen/include/asm-x86/msr-index.h